package minishell.object;

public abstract class UnaryObject<T> implements IObject<T>
{
	private T primitive = null;
	
	public UnaryObject( T primitive )
	{
		this.primitive = primitive;
	}

	public T getPrimitive()
	{
		return this.primitive;
	}

	public String toString()
	{
		return String.valueOf( this.getPrimitive() );
	}
}
